package com.fg.cloud.common.redis;

import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

/**
 * Description:redis全局抽象配置类
 * @author around
 * @date 2017年9月19日下午7:37:39
 */
public class DefaultJedisPool extends redis.clients.jedis.JedisPool {

	private GenericObjectPoolConfig poolConfig;
	
	private String host;
	
	private int port;
	
	private int timeout;
	
	private String password;
	
	
	public DefaultJedisPool(GenericObjectPoolConfig poolConfig, String host, int port, int timeout, String password) {
		super(poolConfig, host, port, timeout, password);
	}

	public GenericObjectPoolConfig getPoolConfig() {
		return poolConfig;
	}

	public void setPoolConfig(GenericObjectPoolConfig poolConfig) {
		this.poolConfig = poolConfig;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public int getTimeout() {
		return timeout;
	}

	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	
}
